package com.lagou.hdfs.test_1;

import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.WritableComparable;
import org.apache.hadoop.io.WritableComparator;

/**
 * @ClassName MyGroupingComparator
 * @Description TODO
 * @Author huangjh5
 * @Date 2020/12/9 14:17
 */
public class CustomGroupingComparator extends WritableComparator {


    public CustomGroupingComparator() {
        super(LongWritable.class,true);
    }

    @Override
    public int compare(WritableComparable a, WritableComparable b) {
        return 0;
    }
}
